#ifndef HEMISPHERE_H
#define HEMISPHERE_H

#include "icgobject.h"

class Hemisphere : public ICgObject
{
public:
    Hemisphere();

    bool intersect(const Ray &r, double &t, Vector &normal) const;
    void openGlRender() const;
    ICgObject* clone() const;

private:
    std::vector<Point*> cap;
#ifdef DEBUG
    void printFace(const Face &f);
#endif
};

#endif // HEMISPHERE_H
